(function sleep_5000() {
    setTimeout(() => {
        console.log('延迟5秒')
        document.getElementById('myDiv').style.backgroundColor = '#8B658B'
    }, 5000)
})()